from django.urls import path
from . import views
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static


app_name = 'upload'

urlpatterns = [
    #用户上传内容页面
    path('upload/<user>',views.Upload,name = 'upload'),

    #传入数据库动作
    path('chuan/<user>',views.Introduction,name = 'chuan'),

    #贴吧内容
    #path('postinfo/<user_id>',views.Postinfo,name = 'postinfo'),

]#+static(settings.MEDIA_URL,document_root = settings.MEDIA.ROOT)
#上传图片

